package com.th.cash.util

import android.provider.Settings
import com.th.basemodel.utils.AppUtil
import com.th.basemodel.utils.CommUtils

object PointUtil {

    fun getPoint(startTime: Long, endTime: Long, productId: String,type: String): MutableMap<String, Any> {
        return mutableMapOf<String, Any>().apply {
            put("YyzmtBTSyllogiseHEWwQiA", startTime)
            put(
                "zySPtLcDiopsideOesGXXK", if (endTime == 0L) {
                    System.currentTimeMillis()
                }else{
                    endTime
                }
            )
            put("KiOAYsXOverrelianceWWpzcfA", productId)
            put("asKJjPDCybernationZMRxJda", type)
            put("mfSAleQCorbiestepNnQjkwB", Settings.Secure.getString(CommUtils.getContext().getContentResolver(), Settings.Secure.ANDROID_ID))
            put("kRqDTddPrecalculusObjlhln", CommUtils.getContext().getString(com.th.resmodel.R.string.app_name))
            put("RkObJBGDecentralisationQwReUcm", AppUtil.adid)
            put("lPXQrlSEmerodsXhPwDaV", "")
            put("AFEvlQMYokelinesRmqQdeV", "")
            put("WmyVfYOBetakenTCkSACk", "")
        }
    }
}